//
//  WCNUserCell.m
//  WCN
//
//  Created by wsj2015 on 15/9/21.
//  Copyright (c) 2015年 ShanghaiCize Trade And Business Co., Ltd. All rights reserved.
//

#import "WCNUserCell.h"
#import "Macros.h"
#import "WCImageView +setImage.h"
@implementation WCNUserCell

- (void)awakeFromNib {
    
    self.bgView.layer.borderWidth =1;
    self.bgView.layer.borderColor =kBorderColor.CGColor;
    
    self.iconView.layer.cornerRadius =21;
    self.iconView.clipsToBounds = YES;
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)configModel:(Order *)patient
{
    self.nurseType.text =patient.service_Type.serviceName;
    self.addressLabel.text = [NSString stringWithFormat:@"服务地址:%@",patient.patientAddress];

    self.nameLabel.text =patient.patientName;
    [self.iconView setImageWithUrl:patient.patientAvatarFileId];
    
    
}
@end
